﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BuyOrder.aspx.cs" Inherits="WebProjectOrder.Presentation.BuyOrder" %>

<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style2
        {
            width: 145px;
        }
        .style3
        {
            top: 13px;
            width: 95px;
        }
        .style4
        {
            width: 249px;
        }
        .style5
        {
            height: 130px;
        }
        .style9
        {
            width: 251px;
        }
        .style13
        {
            width: 122px;
        }
        .style16
        {
            width: 80px;
            height: 21px;
        }
        .style17
        {
            height: 21px;
        }
        .style18
        {
            width: 80px;
            height: 17px;
        }
        .style19
        {
            height: 17px;
        }
        .style21
        {
            width: 80px;
            height: 20px;
        }
        .style22
        {
            height: 20px;
        }
        .style23
        {
            height: 130px;
            width: 160px;
        }
        .style24
        {
            width: 160px;
            height: 22px;
        }
        .style26
        {
            height: 130px;
            width: 149px;
        }
        .style29
        {
            width: 149px;
            height: 22px;
        }
        .style30
        {
            height: 22px;
        }
        .style34
        {
            width: 160px;
        }
        .style35
        {
            width: 149px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Panel ID="Panel1" runat="server" 
            BackImageUrl="~/Images/FondoOrdenArt.bmp" Height="746px">
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label7" runat="server" Font-Bold="True" Font-Italic="True" 
                ForeColor="#000099" Text="Orden de Compra"></asp:Label>
            <br />
            <br />
            <br />
            <table style="width:100%;" align="center">
                <tr>
                    <td style="top: 10px" width="250" align="right">
                        <asp:Label ID="Label8" runat="server" Font-Bold="True" Font-Size="Small" 
                            Text="Codigo de Cliente:"></asp:Label>
                    </td>
                    <td height="20" class="style3">
                        &nbsp;
                        <asp:Label ID="lblCodCliente1" runat="server" Font-Size="Small"></asp:Label>
                    </td>
                    <td class="style2">
                        <asp:Label ID="Label14" runat="server" Font-Bold="True" Font-Size="Small" 
                            Text="Nombre del Cliente:"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="lblNombreCliente1" runat="server" Font-Size="Small"></asp:Label>
                    </td>
                </tr>
            </table>
            <table style="width:100%;">
                <tr>
                    <td align="right" class="style9">
                        <asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="Small" 
                            Text="Cuenta Auxiliar:"></asp:Label>
                    </td>
                    <td class="style4">
                        &nbsp;<asp:Label ID="lblCuentaAux1" runat="server" Font-Size="Small"></asp:Label>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td align="right" class="style9">
                        <asp:Label ID="Label15" runat="server" Font-Bold="True" Font-Size="Small" 
                            Text="Moneda:"></asp:Label>
                    </td>
                    <td class="style4">
                        <asp:DropDownList ID="drpListCurrency" runat="server" Height="16px" 
                            onselectedindexchanged="DropDownList1_SelectedIndexChanged" Width="130px">
                        </asp:DropDownList>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td align="right" class="style9">
                        <asp:Label ID="Label16" runat="server" Font-Bold="True" Font-Size="Small" 
                            Text="Fecha de Contabilización:"></asp:Label>
                    </td>
                    <td class="style4">
                        <asp:Panel ID="Panel4" runat="server">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <eo:DatePicker ID="DtPckrPosting" runat="server">
                            </eo:DatePicker>
                        </asp:Panel>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td align="right" class="style9">
                        <asp:Label ID="Label13" runat="server" Font-Bold="True" Font-Size="Small" 
                            Text="Fecha de Entrega:"></asp:Label>
                    </td>
                    <td class="style4">
                        <asp:Panel ID="Panel5" runat="server">
                            <eo:DatePicker ID="DtPckrDelivery" runat="server">
                            </eo:DatePicker>
                        </asp:Panel>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
            <table style="width:100%;">
                <tr>
                    <td class="style26">
                        <table style="width:100%;">
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    <asp:GridView ID="gv" runat="server" Font-Size="Small" Width="195px">
                                    </asp:GridView>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
                    </td>
                    <td class="style23">
                        &nbsp;</td>
                    <td class="style5">
                        <table style="width: 92%; height: 152px;">
                            <tr>
                                <td align="right" class="style16">
                                    <asp:Label ID="Label17" runat="server" Font-Bold="True" Text="Bodega:" 
                                        Font-Size="Small"></asp:Label>
                                </td>
                                <td class="style17" align="left">
                                    <asp:DropDownList ID="drpListStore" runat="server" Width="93px" Height="16px" 
                                        onselectedindexchanged="drpListStore_SelectedIndexChanged">
                                    </asp:DropDownList>
                                    <asp:Button ID="Button3" runat="server" Height="23px" onclick="Button3_Click" 
                                        style="margin-top: 0px" Text="-&gt;" Width="21px" />
                                </td>
                            </tr>
                            <tr>
                                <td align="right" class="style18">
                                    <asp:Label ID="Label18" runat="server" Font-Bold="True" Text="Descripción:" 
                                        Font-Size="Small"></asp:Label>
                                </td>
                                <td class="style19" align="left">
                                    <asp:DropDownList ID="drpListDesc" runat="server" Height="16px" 
                                        style="margin-left: 0px" Width="119px" 
                                        onselectedindexchanged="drpListDesc_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td class="style21" align="right">
                                    <asp:Label ID="Label19" runat="server" Font-Bold="True" Text="Cantidad:" 
                                        Font-Size="Small"></asp:Label>
                                </td>
                                <td class="style22" align="left">
                                    <asp:TextBox ID="txtCant" runat="server" Width="110px"></asp:TextBox>
                                    <asp:Label ID="lblCant" runat="server" Font-Bold="True" ForeColor="#FF3300" 
                                        Font-Size="Small"></asp:Label>
                                    </td>
                            </tr>
                            <tr>
                                <td class="style21" align="right">
                                    <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="Tipo de Impuesto:" 
                                        Font-Size="Small"></asp:Label>
                                </td>
                                <td class="style22" align="left">
                                    <asp:DropDownList ID="drpListTax" runat="server" Height="16px" 
                                        Width="123px">
                                    </asp:DropDownList>
                                    </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="style29">
                        &nbsp;</td>
                    <td class="style24">
                        </td>
                    <td class="style30">
                        <table style="width:100%;">
                            <tr>
                                <td align="left">
                                    <asp:Button ID="btnAgregarItem" runat="server" onclick="btnAgregarItem_Click" 
                                        Text="Agregar Artículo" Width="99px" />
                                </td>
                                <td align="center">
                                    &nbsp;</td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="style35" align="right">
                        &nbsp;</td>
                    <td class="style34" >
                        &nbsp;</td>
                    <td class="style13" >
                        <asp:Button ID="btnAgregarDoc" runat="server" onclick="btnAgregarDoc_Click" 
                            Text="Enviar Documento" Width="181px" />
                    </td>
                </tr>
            </table>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
            <table style="width:100%;">
                <tr>
                    <td>
                        <asp:Label ID="lblItem" runat="server" Font-Size="Small" ForeColor="#FF3300"></asp:Label>
                    </td>
                </tr>
            </table>
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br /> 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
            <br />
            <br />
            <br />
        </asp:Panel>
    
    </div>
    </form>
</body>
</html>
